using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 用户表
    ///</summary>
    [SugarTable("xrc_user", TableDescription = "用户表")]
    public partial  class  CoreCmsUser
    {
        /// <summary>
        /// 用户表
        /// </summary>
        public CoreCmsUser()
        {
        }
        /// <summary>
        /// 用户ID 
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }
        /// <summary>
        /// 第三方登录类型 
        ///</summary>
        [SugarColumn(ColumnName = "type")]
        public int? type { get; set; }
        /// <summary>
        /// 推荐人id 
        ///</summary>
        [SugarColumn(ColumnName = "parentId")]
        public int? parentId { get; set; }
        /// <summary>
        /// 是否经纪人 
        /// 默认值: 0
        ///</summary>
        [SugarColumn(ColumnName = "isbroker")]
        public byte? isbroker { get; set; }
        /// <summary>
        /// openId 
        ///</summary>
        [SugarColumn(ColumnName = "openid")]
        public string openid { get; set; }
        /// <summary>
        /// 缓存key 
        ///</summary>
        [SugarColumn(ColumnName = "sessionKey")]
        public string sessionKey { get; set; }
        /// <summary>
        /// unionid 
        ///</summary>
        [SugarColumn(ColumnName = "unionId")]
        public string unionId { get; set; }
        /// <summary>
        /// 头像 
        ///</summary>
        [SugarColumn(ColumnName = "avatar")]
        public string avatar { get; set; }
        /// <summary>
        /// 昵称 
        ///</summary>
        [SugarColumn(ColumnName = "nickName")]
        public string nickName { get; set; }
        /// <summary>
        /// 用户姓名 
        ///</summary>
        [SugarColumn(ColumnName = "realName")]
        public string realName { get; set; }
        /// <summary>
        /// 性别 
        ///</summary>
        [SugarColumn(ColumnName = "gender")]
        public int gender { get; set; }
        /// <summary>
        /// 语言 
        ///</summary>
        [SugarColumn(ColumnName = "language")]
        public string language { get; set; }
        /// <summary>
        /// 城市 
        ///</summary>
        [SugarColumn(ColumnName = "city")]
        public string city { get; set; }
        /// <summary>
        /// 省 
        ///</summary>
        [SugarColumn(ColumnName = "province")]
        public string province { get; set; }
        /// <summary>
        /// 国家 
        ///</summary>
        [SugarColumn(ColumnName = "country")]
        public string country { get; set; }
        /// <summary>
        /// 手机号码国家编码 
        ///</summary>
        [SugarColumn(ColumnName = "countryCode")]
        public string countryCode { get; set; }
        /// <summary>
        /// 手机号码 
        ///</summary>
        [SugarColumn(ColumnName = "mobile")]
        public string mobile { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
        [SugarColumn(ColumnName = "createTime")]
        public DateTime? createTime { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
        [SugarColumn(ColumnName = "updateTime")]
        public DateTime? updateTime { get; set; }
    }
}
